<?php
/*
 * Copyright (c) 2023. ogg. Inc. All Rights Reserved.
 * ogg sit down and start building bugs in sunny weather.
 * Author: Tc <1224663799@qq.com>.
 * LastChangeTime: 2023-01-17 09:52:20
 * ChangeTime: 2023-04-26 10:21:32
 */

declare(strict_types=1);

namespace Hesb\Hyperf\DTO\Annotation;

use Attribute;
use Hyperf\Di\Annotation\AbstractAnnotation;

#[Attribute(Attribute::TARGET_PROPERTY)]
class JSONField extends AbstractAnnotation
{
    public string $name;

    public function __construct(string $name)
    {
        $this->name = $name;
    }
}
